package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialTrackingRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialTrackingPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialTrackingDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialTrackingDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialTrackingDomainImpl extends BaseDomainImpl<ContractInitialTrackingDto, ContractInitialTrackingPo> implements ContractInitialTrackingDomain {

    @Resource
    private ContractInitialTrackingRepository contractInitialTrackingRepository;

    @Override
    public BaseRepository<ContractInitialTrackingPo> getMapper() {
        return contractInitialTrackingRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialTrackingPo>> getRepositoryClass() {
        return ContractInitialTrackingRepository.class;
    }

}
